/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.clemson.cs.hamptos.adventure;

/**
 * VerbStrategy used to print the final bits of text.
 * @author Nicks
 */
public class VerbNoGo implements VerbStrategy {

    @Override
    public void doCommand(AdventureCommand c, AdventureEngine e, AdventureWindow w) {
        if (c.getVerb().equals("flee now"))
        {
            w.println("The keypad clicks and turns green!");
            w.println("You step into the elevator and hurriedly press the up button");
            w.println("as the zombies close in. The elevator closes the doors");
            w.println("just as the zombies reach you. Are you free? Is the surface");
            w.println("in a similar state? Will you ever be truly safe? These questions");
            w.println("ring in your head along with the gnarled screams and groans from");
            w.println("below, but still, you have escaped...");
        }
        else
        {
            w.println("Oh no! that's not the right password! Quick! Try again!!!");
        }
    }
    
}
